package day05.pm;

/**
 * while/do...while
 */
public class Demo04 {
    public static void main(String[] args) {
        int i=1;
        while(i<=10){
            System.out.println("Hello："+i);
            i++;
        }

        i=1;
        do{
            System.out.println("你好:"+i);
            i++;
        }while(i<=10);

        int b = 10;
        while(b>10){
            System.out.println("abcdef");
        }
        do{
            System.out.println("aaaaaaaaaaaaa");
        }while(b>10);
    }
}
